3.2.56 \(\int \frac {(c+d) (a+b x)}{e} \, dx\)

Optimal. Leaf size=20 \[ \frac {(c+d) (a+b x)^2}{2 b e} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {9} \begin {gather*} \frac {(c+d) (a+b x)^2}{2 b e} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((c + d)*(a + b*x))/e,x]

[Out]

((c + d)*(a + b*x)^2)/(2*b*e)

Rule 9

Int[(a_)*((b_) + (c_.)*(x_)), x_Symbol] :> Simp[(a*(b + c*x)^2)/(2*c), x] /; FreeQ[{a, b, c}, x]

Rubi steps

\begin {align*} \int \frac {(c+d) (a+b x)}{e} \, dx &=\frac {(c+d) (a+b x)^2}{2 b e}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 19, normalized size = 0.95 \begin {gather*} \frac {(c+d) \left (a x+\frac {b x^2}{2}\right )}{e} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((c + d)*(a + b*x))/e,x]

[Out]

((c + d)*(a*x + (b*x^2)/2))/e

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(c+d) (a+b x)}{e} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((c + d)*(a + b*x))/e,x]

[Out]

IntegrateAlgebraic[((c + d)*(a + b*x))/e, x]

________________________________________________________________________________________

fricas [A]  time = 2.37, size = 27, normalized size = 1.35 \begin {gather*} \frac {{\left (b c + b d\right )} x^{2} + 2 \, {\left (a c + a d\right )} x}{2 \, e} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c+d)*(b*x+a)/e,x, algorithm="fricas")

[Out]

1/2*((b*c + b*d)*x^2 + 2*(a*c + a*d)*x)/e

________________________________________________________________________________________

giac [A]  time = 1.20, size = 17, normalized size = 0.85 \begin {gather*} \frac {1}{2} \, {\left (b x^{2} + 2 \, a x\right )} {\left (c + d\right )} e^{\left (-1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c+d)*(b*x+a)/e,x, algorithm="giac")

[Out]

1/2*(b*x^2 + 2*a*x)*(c + d)*e^(-1)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 18, normalized size = 0.90 \begin {gather*} \frac {\left (c +d \right ) \left (\frac {1}{2} b \,x^{2}+a x \right )}{e} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c+d)*(b*x+a)/e,x)

[Out]

(c+d)/e*(1/2*b*x^2+a*x)

________________________________________________________________________________________

maxima [A]  time = 1.37, size = 18, normalized size = 0.90 \begin {gather*} \frac {{\left (b x^{2} + 2 \, a x\right )} {\left (c + d\right )}}{2 \, e} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c+d)*(b*x+a)/e,x, algorithm="maxima")

[Out]

1/2*(b*x^2 + 2*a*x)*(c + d)/e

________________________________________________________________________________________

mupad [B]  time = 0.07, size = 16, normalized size = 0.80 \begin {gather*} \frac {x\,\left (c+d\right )\,\left (2\,a+b\,x\right )}{2\,e} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((c + d)*(a + b*x))/e,x)

[Out]

(x*(c + d)*(2*a + b*x))/(2*e)

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 22, normalized size = 1.10 \begin {gather*} \frac {x^{2} \left (b c + b d\right )}{2 e} + \frac {x \left (a c + a d\right )}{e} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c+d)*(b*x+a)/e,x)

[Out]

x**2*(b*c + b*d)/(2*e) + x*(a*c + a*d)/e

________________________________________________________________________________________